Xbasic

FILE_COPY Function

Syntax

FILE_COPY( Source_Filename as C, Destination_Filename as C )

Arguments

Source_Filename

The full path specification of the file to copy.

Destination_Filename

The full path specification of the new file.

Description

Copies Source_Filename to Destination_Filename.

Discussion

FILE_COPY() copies Source_Filename to Destination_Filename. ( FILE.COPY()is functionally equivalent to FILE_COPY(). The FILE_COPY() syntax is retained for compatibility with Version

Example

file_copy("d:\data.txt", "d:\backup.txt")

See Also